<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb18030" />
<title>ERP系统登录界面</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<style>
img{
vertical-align:text-bottom;
}
*{
	font-size: 12px;
}
</style>
<script type="text/javascript" src="js/loginimage.js"></script>
</head>

<body style="background-image:url(images/login_page_bg.jpg); background-repeat:repeat-x; text-align:center; padding-top:167px;" >
<form name="form1" action="login!login.do" method="post">
<table width="500" border="0" cellspacing="0" cellpadding="0" style="border:1px #CCCCCC solid; background-color:#fafafa; height:300px;">

  <tr>
    <td width="185" align="center" valign="middle"><br />
      <br />
      <br />
    <img src="images/login_ico.jpg" width="156" height="155" /></td>
    <td width="1" valign="middle"><img src="images/login_line.gif" /></td>
    <td align="left">
	<img src="images/mac.png" style="margin:0px 0px 10px 10px;" />
	<table width="290" border="0" cellspacing="0" cellpadding="0" style="margin-left:10px;">
	
      <tr>
		<td width="55" height="13" align="center" class="text_12_grey1">用户名：</td>
		<td width="235" height="30" align="left"><s:textfield name="username" cssStyle="width:120px" /><s:fielderror><s:param>username</s:param></s:fielderror></td>
      </tr>
      <tr>
		<td width="55" height="13" align="center" class="text_12_grey1">密码：</td>
		<td width="235" height="30" align="left"><s:password name="password" cssStyle="width:120px" /><s:fielderror><s:param>password</s:param></s:fielderror></td>
      </tr>
	  <tr>
		<td />
	  </tr>
      <tr>
        <td align="center" class="text_12_grey1">&nbsp;</td>
        <td height="30" align="left">
		<s:submit type="image" value="登陆">
		<s:param name="src"><s:url value="images/login_button.gif"/></s:param>
		</s:submit>
		</td>
      </tr>
      <tr>
      	<td colspan="2"><span style="color: red;" id="error"><s:actionerror /> <s:actionmessage /></span></td>
      </tr>
    </table></td>
  </tr>
</table>
<img src="images/login_bottom_img.jpg" />
</form>
</body>
</html>